package com.xbongbong.paas.help.symbol;

import com.xbongbong.paas.domain.entity.PaasFormDataEntity;
import com.xbongbong.paas.field.FieldAttrEntity;
import com.xbongbong.paas.toolbox.exception.XbbException;

/**
 * @author 吴峰
 * @date 2021/01/08 17:16
 */
public class VideoSymbolHandle extends TextSymbolHandle {

    @Override
    public boolean empty(PaasFormDataEntity source, FieldAttrEntity fieldAttrEntity) throws XbbException {
        return empty(source.getData().get(fieldAttrEntity.getAttr()));
    }

    @Override
    public boolean noEmpty(PaasFormDataEntity source, FieldAttrEntity fieldAttrEntity) throws XbbException {
        return noEmpty(source.getData().get(fieldAttrEntity.getAttr()));
    }
}
